package com.warrior.superdata.mysql.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description:
 * @ClassName: AddApiParamDto.java
 * @date: 2022/3/8 9:57
 * @author xujian
 */
@Data
public class AddApiParamDto {

    @NotNull(message = "appId不能为空")
    private Integer apiId;

    @NotEmpty(message = "参数集合不能为空")
    private List<ApiParamDto> list;

}
